﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Application/Cart/Administration/MasterPage.master" AutoEventWireup="true" CodeFile="ProductForm.aspx.cs" Inherits="Application_Cart_Administration_ProductForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<CART:MessageBox runat="server" ID="MessageB01" />
<table>
<tr>
	<th colspan="2">Product (add/update)</th>
</tr>
<tr>
	<td style="vertical-align:top;">
		<table>
		<tr>
			<td>CategoryId:</td>
			<td>
				<asp:DropDownList runat="server" ID="DropDownListCategoryId"></asp:DropDownList>
				<asp:RequiredFieldValidator ControlToValidate="DropDownListCategoryId" ID="rfvCategory" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>Name:</td>
			<td>
				<asp:TextBox runat="server" ID="TextBoxName"></asp:TextBox>
				<asp:RequiredFieldValidator ControlToValidate="TextBoxName" ID="RequiredFieldValidator1" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>SKU:</td>
			<td>
				<asp:TextBox runat="server" ID="TextBoxSKU"></asp:TextBox>
				<asp:RequiredFieldValidator ControlToValidate="TextBoxSKU" ID="RequiredFieldValidator2" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>Description:</td>
			<td>
				<asp:TextBox runat="server" ID="TextBoxDescription"></asp:TextBox>
				<asp:RequiredFieldValidator ControlToValidate="TextBoxDescription" ID="RequiredFieldValidator3" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>Quantity in stock:</td>
			<td><asp:TextBox runat="server" ID="TextBoxQuantityInStock"></asp:TextBox></td>
		</tr>
		<tr>
			<td>Cost:</td>
			<td>
				<asp:TextBox runat="server" ID="TextBoxCost"></asp:TextBox>
				<asp:RequiredFieldValidator ControlToValidate="TextBoxCost" ID="RequiredFieldValidator5" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>Price:</td>
			<td>
				<asp:TextBox runat="server" ID="TextBoxPrice"></asp:TextBox>
				<asp:RequiredFieldValidator ControlToValidate="TextBoxPrice" ID="RequiredFieldValidator4" runat="server" Display="Dynamic">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>Weight:</td>
			<td><asp:TextBox runat="server" ID="TextBoxWeight"></asp:TextBox></td>
		</tr>
		<tr>
			<td>WeightUnit:</td>
			<td><asp:DropDownList runat="server" ID="DropDownListWeightUnit"></asp:DropDownList></td>
		</tr>
		<tr>
			<td>Amount/PKG:</td>
			<td><asp:TextBox runat="server" ID="TextBoxAmountPKG"></asp:TextBox></td>
		</tr>
		<tr>
			<td>Width:</td>
			<td><asp:TextBox runat="server" ID="TextBoxWidth"></asp:TextBox></td>
		</tr>
		<tr>
			<td>Height:</td>
			<td><asp:TextBox runat="server" ID="TextBoxHeight"></asp:TextBox></td>
		</tr>
		<tr>
			<td>SizeUnit:</td>
			<td><asp:DropDownList runat="server" ID="DropDownListSizeUnit"></asp:DropDownList></td>
		</tr>
		<tr>
			<td colspan="2" style="text-align:right"><asp:Button runat="server" ID="ButtonSave" Text="<%$ Resources:Resource,  Save %>" OnClick="ButtonNew_Click" /></td>
		</tr>
		</table>
	</td>
	<td style="vertical-align:top;">
		<table>
		<tr>
			<td><CART:FileUploader runat="server" ID="FileUploader01" /></td>
		</tr>
		</table>
	</td>
</tr>
</table>
<asp:ValidationSummary runat="server" ID="vsum01" ShowMessageBox="true" ShowSummary="false" />
</asp:Content>

